package cn.kgc.taolun2.service;

import cn.kgc.taolun2.mapper.SortMapper;
import cn.kgc.taolun2.pojo.Sort;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author shkstart
 * @create 2020-05-22 11:53
 */
@Service
public class SortServiceImpl implements SortService {

    @Resource
    SortMapper sortMapper;
    @Override
    public List<Sort> selectSort() {
        List<Sort> sorts = sortMapper.selectByExample(null);
        return sorts;
    }
}
